<template>
  <el-dialog
      :visible.sync="visible"
      width="34%"
      :before-close="onClose">
      <div slot="title" style="font-size: 14px;font-weight: 500;">
        群发对象条件
      </div>
      <div class="send-require-container">
        <div class="send-require-item">所有客户</div>
        <div class="send-require-item">所有客户群</div>
      </div>
      <span slot="footer" class="dialog-footer">
        <el-button type="primary" @click="onClose">关闭</el-button>
      </span>
    </el-dialog>
</template>
<script>
export default {
  data() {
    return {
      check: 0,
      check1: 0,
    }
  },
  props: ['visible'],
  methods: {
    onClose() {
      this.$emit('handCloseDialog');
    }
  },
}
</script>
<style lang="scss" scoped>
.send-require-container {
  .send-require-item {
    padding: 8px;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 2px;
    border: 1px solid #e9e9e9;
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, .45);
  }
}
</style>